<template>
    <div>
        <h1 class="bgc">{{msg}}</h1>
        <h2 @click="showName">学校名称：{{name}}</h2>
        <h2>学校地址：{{address}}</h2>
   
    </div>
</template>


<script>

    import {a} from '../mixin'
    export default{
       name:'School',
       data() {
            return {
                msg:'欢迎你~学生',
                name:'深职院',
                address:'深圳'         
            }
        },
       mixins:[a]

             
   }
    

</script>
<style>
    .bgc{
        background-color: #ff6700;
    }
</style>